﻿using System;
using System.Collections.Generic;

namespace Rj_GsInsurance.Server.DataBaseContext.Entities
{
    /// <summary>
    /// 医保凭证信息
    /// </summary>
    public partial class InsuranceTbEvidence
    {
        /// <summary>
        /// ID
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 凭证号码
        /// </summary>
        public string EvidenceNo { get; set; } = null!;
        /// <summary>
        /// 凭证类型
        /// </summary>
        public string EvidenceType { get; set; } = null!;
        /// <summary>
        /// 患者标识
        /// </summary>
        public long? PatId { get; set; }
        /// <summary>
        /// 患者姓名
        /// </summary>
        public string? PatName { get; set; }
        /// <summary>
        /// 证件类型
        /// </summary>
        public string? CertType { get; set; }
        /// <summary>
        /// 证件号码
        /// </summary>
        public string? CertNo { get; set; }
        /// <summary>
        /// 参保地行政区划代码
        /// </summary>
        public string? InsuplcAdmdvs { get; set; }
        /// <summary>
        /// 险种类型
        /// </summary>
        public string? InsuType { get; set; }
        /// <summary>
        /// 人员类别
        /// </summary>
        public string? PsnType { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string? Gend { get; set; }
        /// <summary>
        /// 民族
        /// </summary>
        public string? Naty { get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        public decimal? Age { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public string? Birthday { get; set; }
        /// <summary>
        /// 卡号
        /// </summary>
        public string? CardNo { get; set; }
        /// <summary>
        /// 院号
        /// </summary>
        public string? HisCardNo { get; set; }
        /// <summary>
        /// 医保收费类型
        /// </summary>
        public int? ChargeType { get; set; }
        /// <summary>
        /// 开始日期
        /// </summary>
        public DateTime? BeginDate { get; set; }
        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime? EndDate { get; set; }
        /// <summary>
        /// 单位编码
        /// </summary>
        public string? EmpNo { get; set; }
        /// <summary>
        /// 单位名称
        /// </summary>
        public string? EmpName { get; set; }
        /// <summary>
        /// 医疗项目
        /// </summary>
        public string? CureItem { get; set; }
        /// <summary>
        /// 诊断编码
        /// </summary>
        public string? DiagCode { get; set; }
        /// <summary>
        /// 余额
        /// </summary>
        public decimal? Balance { get; set; }
        /// <summary>
        /// 当期累计金额
        /// </summary>
        public decimal? CurrentCumulative { get; set; }
        /// <summary>
        /// 帐户设置时间
        /// </summary>
        public DateTime? AccountTime { get; set; }
        /// <summary>
        /// 限门诊住院标志
        /// </summary>
        public string? OutpatientOrHospital { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int? Status { get; set; }
        /// <summary>
        /// 操作员
        /// </summary>
        public int? OpCode { get; set; }
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime? OpDate { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Memo { get; set; }
        /// <summary>
        /// 就诊类别
        /// </summary>
        public string? MedType { get; set; }
        /// <summary>
        /// 当前选定的工伤认定号
        /// </summary>
        public string? QualificationId { get; set; }
    }
}
